|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.vtp.desktop.media.core.ContentDialog
org.eclipse.vtp.desktop.editors.voice.editor.VoiceContentDialog
public class VoiceContentDialog
A dialog for editing a list of content objects in a voice project.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
|---|
org.eclipse.jface.window.Window.IExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.desktop.media.core.ContentDialog |
|---|
contents |
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Constructor Summary | |
|---|---|
VoiceContentDialog(org.eclipse.jface.window.IShellProvider parentShellProvider)
Creates a new VoiceContentDialog. |
|
VoiceContentDialog(org.eclipse.swt.widgets.Shell parentShell)
Creates a new VoiceContentDialog. |
|
| Method Summary | |
|---|---|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
|
Content |
getContentItem()
|
java.lang.String |
getItemName()
|
void |
initialize(java.lang.String itemName,
java.lang.String[] unavailableNames,
Content contentItem,
IMediaProvider mediaProvider)
Sets the name, content item, and media provider for this dialog edits. |
protected boolean |
isContentValid()
Returns true if the content of this dialog is valid and the OK button should be enabled. |
void |
modifyText(org.eclipse.swt.events.ModifyEvent e)
|
| Methods inherited from class org.eclipse.vtp.desktop.media.core.ContentDialog |
|---|
contentChanged, createContents, getVariables, setMediaProvider |
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
|---|
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VoiceContentDialog(org.eclipse.swt.widgets.Shell parentShell)
VoiceContentDialog.
parentShell - The shell to create the dialog from.public VoiceContentDialog(org.eclipse.jface.window.IShellProvider parentShellProvider)
VoiceContentDialog.
parentShellProvider - The shell provider to create the dialog from.| Method Detail |
|---|
public void initialize(java.lang.String itemName,
java.lang.String[] unavailableNames,
Content contentItem,
IMediaProvider mediaProvider)
itemName - The name of the item being edited.contentItem - The content item this dialog edits.mediaProvider - The media provider this dialog uses.public java.lang.String getItemName()
public Content getContentItem()
protected boolean isContentValid()
ContentDialog
isContentValid in class ContentDialogprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class ContentDialogpublic void modifyText(org.eclipse.swt.events.ModifyEvent e)
modifyText in interface org.eclipse.swt.events.ModifyListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||